package com.wenhai.springbook;

import org.springframework.beans.factory.BeanNameAware;

public class MyBeanNameAware implements BeanNameAware {

    private  String beanName ;

    @Override
    public void setBeanName(String name) {
        this.beanName = name;
    }


    public String getBeanName() {
        return beanName;
    }
}
